ti: k3: common: Allow customizing UART baud rate using build options
authorAndreas Dannenberg <[email protected]>
Mon, 14 Jan 2019 19:20:15 +0000 (13:20 -0600)
committerAndrew F. Davis <[email protected]>
Mon, 21 Jan 2019 19:39:51 +0000 (13:39 -0600)
commit50b2f55b69fd0515095e8cc2377f62fdc207074e
treec38d9c3fc5e7d36cee685729c5246b47074a9938
parentc40c88f81b7fb7c78e8f491b462f29814337dcf5
ti: k3: common: Allow customizing UART baud rate using build options

To accommodate scenarios where we want to use a UART baud rate other than
the default 115,200 allow the associated compiler definition to be set
via the K3_USART_BAUD build option by updating the platform make file.

Since the platform make file now also contains the default value (still
115,200), go ahead and remove the redundant definition from the platform
header file.

Suggested-by: Andrew F. Davis <[email protected]>
Signed-off-by: Andreas Dannenberg <[email protected]>
plat/ti/k3/common/plat_common.mk
plat/ti/k3/include/platform_def.h